package top.so.dao.impl;

import org.springframework.stereotype.Repository;
import top.so.dao.AbstractBaseDao;
import top.so.dao.AdminDao;
import top.so.entity.Admin;

import java.util.List;

@Repository
public class AdminDaoImpl extends AbstractBaseDao implements AdminDao {
    public List<Admin> selectAdmin(Admin admin) {
        return this.getSqlSession().selectList(this.getClass().getName()+".selectAdmin",admin);
    }
}
